Auto merge of #1914 - thirtythreeforty:crate-type, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 19 Aug 2015 16:36:41 +0000 (16:36 +0000)
committerbors <bors@rust-lang.org>
Wed, 19 Aug 2015 16:36:41 +0000 (16:36 +0000)
commit657e363e66c6e12d7485180aeb9dafe89fb7fbd7
tree8ad83344255efe66869e9ca58be1abb29a46cb85
parente36b001a0291bb7fa4e1434ae49eb0f3b49baf76
parentc2e6ba899d1b9cdf6d12f720870b7f8b0765f1d9
Auto merge of #1914 - thirtythreeforty:crate-type, r=alexcrichton

This fixes a problem with manifest parsing that I detailed [here](http://stackoverflow.com/a/32055245/1830736).  Namely, requesting an invalid `crate-type`, as in the following:
```
[lib]
crate-type = ["bad_type"]
```
did not cause an error to be printed, but rather the bad list of types was silently converted to `["rlib"]`.  This was confusing to the user.

Cargo now properly rejects the above snippet.